﻿using System;
using System.Collections;
using System.Text;

namespace Cinema.Model
{
    class Projection
    {
        //vars
        int ticketCounter;
        String startT;
        String endT;
        int price;
        Movie movie;
        Saloon saloon;
        
        //vars

        //constructor
        public Projection()
        {
            

            ticketCounter = 0;
        }
        public Projection(String startT, int price, Movie movie, Saloon saloon)
        {
            this.startT = startT;
            this.price = price;
            this.movie = movie;
            this.saloon = saloon;
        }
        //constructor

        //set
        public void setStartT(String startT)
        {
            this.startT = startT;
        }

        public void setEndT(String endT)
        {
            this.endT = endT;
        }

        public void setPrice(int price)
        {
            this.price = price;
        }

        public void setMovie(Movie movie)
        {
            this.movie = movie;
        }

        public void setSaloon(Saloon saloon)
        {
            this.saloon = saloon;
        }
        //set

        //get
        public String getStartT()
        {
            return startT;
        }

        public String getEndT()
        {
            return endT;
        }

        public int getPrice()
        {
            return price;
        }

        public Movie getMovie()
        {
            return movie;
        }

        public Saloon getSaloon()
        {
            return saloon;
        }
        //get
    }
}
